#include "FileFilter.h"

FileFilter::FileFilter()
{
}

FileFilter::~FileFilter()
{
}

void FileFilter::ClearFilter()
{
	filter = "";
}

void FileFilter::AddFileType(std::string name, std::string extension)
{
	filter += name;
	filter.push_back('\0');
	filter += ("*." + extension);
	filter.push_back('\0');
}

const char* FileFilter::GetFilter()
{
	return filter.c_str();
}
